﻿ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace jobsheetFinal
{
    class ServiceRequest
    {

        public string jobSheetRequest = null;
        public DateTime preferredServiceDate;
        public string jobSheetNum = null;
        public string SONum = null;
        public string ECS_PO_Num = null;
        public string project = null;

        public string reseller = null;
        public string re_address = null;
        public string re_contactPerson = null;
        public int re_mobile = 0;
        public string re_email = null;

        public string endUser = null;
        public string end_address = null;
        public string end_contactPerson = null;
        public int end_mobileNumber = 0;
        public string end_emil = null;
        
        public string serviceCode = null;
        public string description = null;
        public int quantity =0;
        public double price = 0.0;
        public string remark = null;

        public ServiceRequest(string jobsheetRequest,DateTime preferredServiceDate,string jobSheetNum, string SONum,
            string ECS_PO_Num,string project,string reseller, string re_address, string re_contactPerson,
            int re_mobile, string re_email, string endUser, string end_address, string end_contactPerson,
            int end_mobileNumber, string end_emil, string serviceCode, string description,int quantity,
            double price,string remark)
        {
            this.jobSheetRequest = jobsheetRequest;
            this.preferredServiceDate = preferredServiceDate;
            this.preferredServiceDate = preferredServiceDate;
            this.jobSheetNum = jobSheetNum;
            this.SONum = SONum;
            this.ECS_PO_Num = ECS_PO_Num;
            this.project = project;
            this.reseller = reseller;
            this.re_address = re_address;
            this.re_contactPerson = re_contactPerson;
            this.re_mobile = re_mobile;
            this.re_email = re_email;
            this.endUser = endUser;
            this.end_address = end_address;
            this.end_contactPerson = end_contactPerson;
            this.end_mobileNumber = end_mobileNumber;
            this.end_emil = end_emil;
            this.serviceCode = serviceCode;
            this.description = description;
            this.quantity = quantity;
            this.price = price;
            this.remark = remark; 
        }
        
        public string JobSheetRequest
        {
            get { return jobSheetRequest; }
            set { jobSheetRequest = value; }
        }
        public DateTime PreferredServiceDate
        {
            get { return preferredServiceDate; }
            set { preferredServiceDate = value; }
        }
        public string JobSheetNumber
        {
            get { return jobSheetNum; }
            set { jobSheetNum = value; }
        }
        public string ECSPONumber
        {
            get { return ECS_PO_Num; }
            set { ECS_PO_Num = value; }
        }
        public string SO_Number
        {
            get { return SONum; }
            set { SONum = value; }
        }
        public string Project
        {
            get { return project; }
            set { project = value; }
        }
        public string Reseller
        {
            get { return reseller; }
            set { reseller = value; }
        }
        public string Reseller_Address
        {
            get { return re_address; }
            set { re_address = value; }
        }
        public string Reseller_ContactPerson
        {
            get { return reseller; }
            set { reseller = value; }
        }
        public int Reseller_Mobile
        {
            get { return re_mobile; }
            set { re_mobile = value; }
        }
        public string Reseller_Email
        {
            get { return re_email; }
            set { re_email = value; }
        }
        public string EndUser
        {
            get { return endUser; }
            set { endUser = value; }
        }

        public string EndUser_Address
        {
            get { return end_address; }
            set { end_address = value; }
        }
        public string EndUser_ContactPerson
        {
            get { return end_contactPerson; }
            set { end_contactPerson = value; }
        }
        public int EndUser_Mobile
        {
            get { return end_mobileNumber; }
            set { end_mobileNumber = value; }
        }
        public string EndUser_Email
        {
            get { return end_emil; }
            set { end_emil = value; }
        }
        public string ServiceCode
        {
            get { return serviceCode; }
            set { serviceCode = value; }
        }
        public string Description
        {
            get { return description; }
            set { description = value; }
        }
        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }
        public double Price
        {
            get { return price; }
            set { price = value; }
        }
        public string Remark
        {
            get { return remark; }
            set { remark = value; }
        }

    }
}
